/*
*---------------------------------------------------------------
*                        Lvgl Font Tool                         
*                                                               
* 注:使用unicode编码                                              
* 注:本字体文件由Lvgl Font Tool V0.3 生成                          
* 作者:阿里(qq:617622104)                                         
*---------------------------------------------------------------
*/



#include "my_gui.h"


static const uint8_t glyph_bitmap[] = {
/* 海 */
0x00,0x00,0x00,0x00,0x00,0xf0,0x00,0x00,0x00,0x00,0x00,  //....................@@.....................
0x00,0x00,0x00,0x00,0x03,0xfc,0x00,0x00,0x00,0x00,0x00,  //...................@@@@....................
0x00,0x30,0x00,0x00,0x03,0xc0,0x00,0x00,0x00,0x00,0x00,  //.....@.............@@......................
0x00,0x0f,0xc0,0x00,0x03,0xc0,0x00,0x00,0x00,0x00,0x00,  //......@@@..........@@......................
0x00,0x03,0xf0,0x00,0x0f,0x00,0x00,0x00,0x00,0x3c,0x00,  //.......@@@........@@.................@@....
0x00,0x00,0xfc,0x00,0x0f,0x00,0x00,0x00,0x00,0xff,0x00,  //........@@@.......@@................@@@@...
0x00,0x00,0x3c,0x00,0x3f,0xff,0xff,0xff,0xff,0xff,0x00,  //.........@@......@@@@@@@@@@@@@@@@@@@@@@@...
0x00,0x00,0x3c,0x00,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,  //.........@@......@@........................
0x00,0x00,0x00,0x00,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,  //................@@.........................
0x00,0x00,0x00,0x30,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,  //.............@..@..........................
0x00,0x00,0x00,0x33,0xc0,0x00,0x00,0x00,0x30,0x00,0x00,  //.............@.@@................@.........
0x00,0x00,0x00,0xc3,0x03,0x00,0x00,0x00,0x3c,0x00,0x00,  //............@..@...@.............@@........
0x0f,0xc0,0x00,0xcc,0x03,0xff,0xff,0xff,0xff,0xc0,0x00,  //..@@@.......@.@....@@@@@@@@@@@@@@@@@@......
0x00,0xfc,0x00,0xf0,0x03,0xc0,0x00,0x00,0x3c,0x00,0x00,  //....@@@.....@@.....@@............@@........
0x00,0x3f,0x03,0x30,0x0f,0xc0,0x00,0x00,0x3c,0x00,0x00,  //.....@@@...@.@....@@@............@@........
0x00,0x3f,0x03,0xc0,0x0f,0xc0,0xc0,0x00,0x3c,0x00,0x00,  //.....@@@...@@.....@@@...@........@@........
0x00,0x0f,0x03,0x00,0x0f,0xc0,0x3c,0x00,0x3c,0x00,0x00,  //......@@...@......@@@....@@......@@........
0x00,0x0c,0x0f,0x00,0x0f,0x00,0x3f,0x00,0x3c,0x00,0x00,  //......@...@@......@@.....@@@.....@@........
0x00,0x00,0x0c,0x00,0x0f,0x00,0x0f,0x00,0x3c,0x00,0x00,  //..........@.......@@......@@.....@@........
0x00,0x00,0x3c,0x00,0x0f,0x00,0x0f,0x00,0x3c,0x00,0x00,  //.........@@.......@@......@@.....@@........
0x00,0x00,0x3c,0x00,0x0f,0x00,0x0c,0x00,0x3c,0x0c,0x00,  //.........@@.......@@......@......@@...@....
0x00,0x00,0x3c,0x00,0x0f,0x00,0x00,0x00,0x3c,0x3f,0x00,  //.........@@.......@@.............@@..@@@...
0x00,0x00,0xf3,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xc0,  //........@@.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..
0x00,0x00,0xf0,0x00,0x3f,0x00,0x00,0x00,0x3c,0x00,0x00,  //........@@.......@@@.............@@........
0x00,0x00,0xf0,0x00,0x3c,0x03,0x00,0x00,0x3c,0x00,0x00,  //........@@.......@@....@.........@@........
0x00,0x03,0xf0,0x00,0x3c,0x00,0xf0,0x00,0x3c,0x00,0x00,  //.......@@@.......@@.....@@.......@@........
0x00,0x0f,0xc0,0x00,0x3c,0x00,0x3c,0x00,0x3c,0x00,0x00,  //......@@@........@@......@@......@@........
0x0f,0xff,0xc0,0x00,0x3c,0x00,0x3f,0x00,0x3c,0x00,0x00,  //..@@@@@@@........@@......@@@.....@@........
0x00,0x0f,0xc0,0x00,0x3c,0x00,0x3f,0x00,0x3c,0x00,0x00,  //......@@@........@@......@@@.....@@........
0x00,0x03,0xc0,0x00,0xfc,0x00,0x0f,0x00,0x3c,0x00,0x00,  //.......@@.......@@@.......@@.....@@........
0x00,0x03,0xc0,0x00,0xfc,0x00,0x00,0x00,0x3c,0x30,0x00,  //.......@@.......@@@..............@@..@.....
0x00,0x03,0xc0,0x00,0xf0,0x00,0x00,0x00,0x3c,0xfc,0x00,  //.......@@.......@@...............@@.@@@....
0x00,0x03,0xc0,0x03,0xff,0xff,0xff,0xff,0xff,0xff,0x00,  //.......@@......@@@@@@@@@@@@@@@@@@@@@@@@@...
0x00,0x03,0xf0,0x00,0xf0,0x00,0x00,0x00,0x3c,0x00,0x00,  //.......@@@......@@...............@@........
0x00,0x03,0xf0,0x00,0x00,0x00,0x00,0x00,0xfc,0x00,0x00,  //.......@@@......................@@@........
0x00,0x03,0xf0,0x00,0x00,0x00,0x00,0x00,0xf0,0x00,0x00,  //.......@@@......................@@.........
0x00,0x03,0xf0,0x00,0x00,0x03,0xf0,0x03,0xf0,0x00,0x00,  //.......@@@.............@@@.....@@@.........
0x00,0x03,0xf0,0x00,0x00,0x00,0x0f,0xff,0xf0,0x00,0x00,  //.......@@@................@@@@@@@@.........
0x00,0x03,0xf0,0x00,0x00,0x00,0x00,0xff,0xc0,0x00,0x00,  //.......@@@..................@@@@@..........
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x00,0x00,0x00,  //.............................@@@...........


/* 达 */
0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x00,  //..........................@................
0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0xc0,0x00,0x00,0x00,  //..........................@@@..............
0x00,0x30,0x00,0x00,0x00,0x00,0x0f,0xf0,0x00,0x00,0x00,  //.....@....................@@@@.............
0x00,0x0f,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //......@@..................@@...............
0x00,0x03,0xc0,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //.......@@.................@@...............
0x00,0x00,0xf0,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //........@@................@@...............
0x00,0x00,0xfc,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //........@@@...............@@...............
0x00,0x00,0x3f,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //.........@@@..............@@...............
0x00,0x00,0x3f,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //.........@@@..............@@...............
0x00,0x00,0x0c,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //..........@...............@@...............
0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x30,0x00,  //..........................@@.........@.....
0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0xfc,0x00,  //..........................@@........@@@....
0x00,0x00,0x00,0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0x00,  //..............@@@@@@@@@@@@@@@@@@@@@@@@@@...
0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //..........................@@...............
0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //..........................@@...............
0x00,0x00,0x30,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //.........@................@@...............
0x00,0x00,0xff,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //........@@@@..............@@...............
0x0f,0xff,0xff,0xc0,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,  //..@@@@@@@@@@@.............@@...............
0x00,0x00,0x3c,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x00,  //.........@@..............@@................
0x00,0x00,0x3c,0x00,0x00,0x00,0x3f,0x00,0x00,0x00,0x00,  //.........@@..............@@@...............
0x00,0x00,0x3c,0x00,0x00,0x00,0x3c,0xc0,0x00,0x00,0x00,  //.........@@..............@@.@..............
0x00,0x00,0x3c,0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,  //.........@@..............@@..@@............
0x00,0x00,0x3c,0x00,0x00,0x00,0xf0,0x0f,0xc0,0x00,0x00,  //.........@@.............@@....@@@..........
0x00,0x00,0x3c,0x00,0x00,0x00,0xf0,0x03,0xf0,0x00,0x00,  //.........@@.............@@.....@@@.........
0x00,0x00,0x3c,0x00,0x00,0x00,0xf0,0x00,0xfc,0x00,0x00,  //.........@@.............@@......@@@........
0x00,0x00,0x3c,0x00,0x00,0x03,0xc0,0x00,0x3f,0x00,0x00,  //.........@@............@@........@@@.......
0x00,0x00,0x3c,0x00,0x00,0x0f,0x00,0x00,0x0f,0xc0,0x00,  //.........@@...........@@..........@@@......
0x00,0x00,0x3c,0x00,0x00,0x0f,0x00,0x00,0x03,0xf0,0x00,  //.........@@...........@@...........@@@.....
0x00,0x00,0x3c,0x00,0x00,0x3c,0x00,0x00,0x03,0xf0,0x00,  //.........@@..........@@............@@@.....
0x00,0x00,0x3c,0x00,0x00,0xf0,0x00,0x00,0x00,0xf0,0x00,  //.........@@.........@@..............@@.....
0x00,0x00,0x3c,0x00,0x03,0xc0,0x00,0x00,0x00,0xf0,0x00,  //.........@@........@@...............@@.....
0x00,0x00,0xcf,0x00,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,  //........@.@@.....@@........................
0x00,0x03,0xc3,0x00,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,  //.......@@..@....@@.........................
0x00,0x0f,0x00,0xcf,0x00,0x00,0x00,0x00,0x00,0x00,0x00,  //......@@....@.@@...........................
0x00,0x3c,0x00,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,  //.....@@.....@@.............................
0x00,0xfc,0x00,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x30,  //....@@@......@@@.........................@.
0x03,0xf0,0x00,0x03,0xff,0xf0,0x00,0x3f,0xff,0xff,0xc0,  //...@@@.........@@@@@@@.......@@@@@@@@@@@@..
0x03,0xf0,0x00,0x00,0x3f,0xff,0xff,0xff,0xff,0xfc,0x00,  //...@@@...........@@@@@@@@@@@@@@@@@@@@@@....
0x00,0xc0,0x00,0x00,0x00,0x03,0xff,0xff,0xff,0xfc,0x00,  //....@..................@@@@@@@@@@@@@@@@....


/* 仪 */
0x00,0x00,0x00,0xf0,0x00,0x03,0x00,0x00,0x00,0x00,0x00,  //............@@.........@...................
0x00,0x00,0x00,0xff,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,  //............@@@@........@..................
0x00,0x00,0x00,0xfc,0x00,0x00,0xf0,0x00,0x00,0x00,0x00,  //............@@@.........@@.................
0x00,0x00,0x03,0xf0,0x00,0x00,0x3c,0x00,0x3c,0x00,0x00,  //...........@@@...........@@......@@........
0x00,0x00,0x03,0xc0,0x00,0x00,0x3f,0x00,0x3f,0xc0,0x00,  //...........@@............@@@.....@@@@......
0x00,0x00,0x0f,0xc0,0x0c,0x00,0x0f,0x00,0x3f,0xc0,0x00,  //..........@@@.....@.......@@.....@@@@......
0x00,0x00,0x0f,0x00,0x0c,0x00,0x0f,0xc0,0x3f,0x00,0x00,  //..........@@......@.......@@@....@@@.......
0x00,0x00,0x0f,0x00,0x0c,0x00,0x0f,0xc0,0x3f,0x00,0x00,  //..........@@......@.......@@@....@@@.......
0x00,0x00,0x3c,0x00,0x0c,0x00,0x03,0x00,0x3c,0x00,0x00,  //.........@@.......@........@.....@@........
0x00,0x00,0x3c,0x00,0x03,0x00,0x00,0x00,0x3c,0x00,0x00,  //.........@@........@.............@@........
0x00,0x00,0xfc,0x00,0x03,0x00,0x00,0x00,0x3c,0x00,0x00,  //........@@@........@.............@@........
0x00,0x00,0xff,0x00,0x03,0x00,0x00,0x00,0xfc,0x00,0x00,  //........@@@@.......@............@@@........
0x00,0x03,0xfc,0x00,0x03,0x00,0x00,0x00,0xf0,0x00,0x00,  //.......@@@@........@............@@.........
0x00,0x03,0xfc,0x00,0x03,0xc0,0x00,0x00,0xf0,0x00,0x00,  //.......@@@@........@@...........@@.........
0x00,0x0f,0x3c,0x00,0x00,0xc0,0x00,0x00,0xf0,0x00,0x00,  //......@@.@@.........@...........@@.........
0x00,0x0c,0x3c,0x00,0x00,0xc0,0x00,0x03,0xf0,0x00,0x00,  //......@..@@.........@..........@@@.........
0x00,0x3c,0x3c,0x00,0x00,0xf0,0x00,0x03,0xc0,0x00,0x00,  //.....@@..@@.........@@.........@@..........
0x00,0xf0,0x3c,0x00,0x00,0xf0,0x00,0x03,0xc0,0x00,0x00,  //....@@...@@.........@@.........@@..........
0x00,0xc0,0x3c,0x00,0x00,0x30,0x00,0x0f,0xc0,0x00,0x00,  //....@....@@..........@........@@@..........
0x03,0x00,0x3c,0x00,0x00,0x3c,0x00,0x0f,0x00,0x00,0x00,  //...@.....@@..........@@.......@@...........
0x0f,0x00,0x3c,0x00,0x00,0x3c,0x00,0x0f,0x00,0x00,0x00,  //..@@.....@@..........@@.......@@...........
0x0c,0x00,0x3c,0x00,0x00,0x0f,0x00,0x3c,0x00,0x00,0x00,  //..@......@@...........@@.....@@............
0x00,0x00,0x3c,0x00,0x00,0x0f,0x00,0x3c,0x00,0x00,0x00,  //.........@@...........@@.....@@............
0x00,0x00,0x3c,0x00,0x00,0x03,0xc0,0xf0,0x00,0x00,0x00,  //.........@@............@@...@@.............
0x00,0x00,0x3c,0x00,0x00,0x03,0xc0,0xf0,0x00,0x00,0x00,  //.........@@............@@...@@.............
0x00,0x00,0x3c,0x00,0x00,0x00,0xf3,0xc0,0x00,0x00,0x00,  //.........@@.............@@.@@..............
0x00,0x00,0x3c,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,  //.........@@.............@@@@...............
0x00,0x00,0x3c,0x00,0x00,0x00,0x3f,0x00,0x00,0x00,0x00,  //.........@@..............@@@...............
0x00,0x00,0x3c,0x00,0x00,0x00,0x3f,0x00,0x00,0x00,0x00,  //.........@@..............@@@...............
0x00,0x00,0x3c,0x00,0x00,0x00,0xff,0xf0,0x00,0x00,0x00,  //.........@@.............@@@@@@.............
0x00,0x00,0x3c,0x00,0x00,0x03,0xc3,0xfc,0x00,0x00,0x00,  //.........@@............@@..@@@@............
0x00,0x00,0x3c,0x00,0x00,0x0f,0x00,0x3f,0x00,0x00,0x00,  //.........@@...........@@.....@@@...........
0x00,0x00,0x3c,0x00,0x00,0x3c,0x00,0x0f,0xf0,0x00,0x00,  //.........@@..........@@.......@@@@.........
0x00,0x00,0x3c,0x00,0x03,0xf0,0x00,0x03,0xff,0xc0,0x00,  //.........@@........@@@.........@@@@@@......
0x00,0x00,0x3c,0x00,0x0f,0x00,0x00,0x00,0x3f,0xff,0xc0,  //.........@@.......@@.............@@@@@@@@..
0x00,0x00,0x3c,0x00,0x3c,0x00,0x00,0x00,0x0f,0xf0,0x00,  //.........@@......@@...............@@@@.....
0x00,0x00,0x3c,0x03,0xc0,0x00,0x00,0x00,0x00,0xc0,0x00,  //.........@@....@@...................@......
0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,  //.........@@..@@............................
0x00,0x00,0x03,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,  //...........@@..............................


/* 器 */
0x00,0x03,0x00,0x00,0xf0,0x00,0xc0,0x00,0x3f,0x00,0x00,  //.......@........@@......@........@@@.......
0x00,0x03,0xff,0xff,0xfc,0x00,0xff,0xff,0xff,0xc0,0x00,  //.......@@@@@@@@@@@@.....@@@@@@@@@@@@@......
0x00,0x03,0xc0,0x00,0xf0,0x00,0xf0,0x00,0x0f,0x00,0x00,  //.......@@.......@@......@@........@@.......
0x00,0x03,0xc0,0x00,0xf0,0x00,0xf0,0x00,0x0f,0x00,0x00,  //.......@@.......@@......@@........@@.......
0x00,0x03,0xc0,0x00,0xf0,0x00,0xf0,0x00,0x0f,0x00,0x00,  //.......@@.......@@......@@........@@.......
0x00,0x03,0xc0,0x00,0xf0,0x00,0xf0,0x00,0x0f,0x00,0x00,  //.......@@.......@@......@@........@@.......
0x00,0x03,0xc0,0x00,0xf0,0x00,0xf0,0x00,0x0f,0x00,0x00,  //.......@@.......@@......@@........@@.......
0x00,0x03,0xc0,0x00,0xf0,0x00,0xf0,0x00,0x0f,0x00,0x00,  //.......@@.......@@......@@........@@.......
0x00,0x03,0xff,0xff,0xf0,0x00,0xff,0xff,0xff,0x00,0x00,  //.......@@@@@@@@@@@......@@@@@@@@@@@@.......
0x00,0x03,0xc0,0x00,0xf0,0x00,0xf0,0x00,0x0f,0x00,0x00,  //.......@@.......@@......@@........@@.......
0x00,0x03,0xc0,0x00,0xc0,0xf0,0x00,0x00,0x0c,0x00,0x00,  //.......@@.......@...@@............@........
0x00,0x03,0x00,0x00,0x03,0xfc,0x0c,0x00,0x00,0x00,0x00,  //.......@...........@@@@...@................
0x00,0x00,0x00,0x00,0x0f,0xc0,0x03,0xf0,0x00,0x00,0x00,  //..................@@@......@@@.............
0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0xfc,0x00,0x00,0x00,  //..................@@........@@@............
0x00,0x00,0x00,0x00,0x3c,0x00,0x00,0x3c,0x00,0x30,0x00,  //.................@@..........@@......@.....
0x00,0x00,0x00,0x00,0xf0,0x00,0x00,0x0c,0x00,0xfc,0x00,  //................@@............@.....@@@....
0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,  //..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
0x00,0x00,0x00,0x0f,0xc0,0x00,0x30,0x00,0x00,0x00,0x00,  //..............@@@........@.................
0x00,0x00,0x00,0x3f,0x00,0x00,0x0c,0x00,0x00,0x00,0x00,  //.............@@@..........@................
0x00,0x00,0x00,0xfc,0x00,0x00,0x03,0xc0,0x00,0x00,0x00,  //............@@@............@@..............
0x00,0x00,0x03,0xf0,0x00,0x00,0x00,0xf0,0x00,0x00,0x00,  //...........@@@..............@@.............
0x00,0x00,0x0f,0xc0,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,  //..........@@@.................@@...........
0x00,0x00,0x3c,0x00,0x00,0x00,0x00,0x03,0xfc,0x00,0x00,  //.........@@....................@@@@........
0x00,0x00,0xf0,0x00,0xc0,0x00,0x00,0x00,0x3f,0xff,0xc0,  //........@@......@................@@@@@@@@..
0x00,0x0f,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x33,0xff,0x00,  //......@@@.......@@.....@@........@.@@@@@...
0x00,0x3f,0xff,0xff,0xfc,0x03,0xff,0xff,0xff,0x30,0x00,  //.....@@@@@@@@@@@@@@....@@@@@@@@@@@@@.@.....
0x03,0xc3,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //...@@..@@.......@@.....@@........@@........
0x0c,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //..@....@@.......@@.....@@........@@........
0x30,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //.@.....@@.......@@.....@@........@@........
0x00,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //.......@@.......@@.....@@........@@........
0x00,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //.......@@.......@@.....@@........@@........
0x00,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //.......@@.......@@.....@@........@@........
0x00,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //.......@@.......@@.....@@........@@........
0x00,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //.......@@.......@@.....@@........@@........
0x00,0x03,0xff,0xff,0xf0,0x03,0xff,0xff,0xfc,0x00,0x00,  //.......@@@@@@@@@@@.....@@@@@@@@@@@@........
0x00,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //.......@@.......@@.....@@........@@........
0x00,0x03,0xc0,0x00,0xf0,0x03,0xc0,0x00,0x3c,0x00,0x00,  //.......@@.......@@.....@@........@@........
0x00,0x03,0xc0,0x00,0x00,0x03,0xc0,0x00,0x30,0x00,0x00,  //.......@@..............@@........@.........


};


static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
    {.bitmap_index = 0,	.adv_w = 43, .box_h = 40, .box_w = 44, .ofs_x = 0, .ofs_y = 4},/*(海)*/
    {.bitmap_index = 440,	.adv_w = 43, .box_h = 39, .box_w = 44, .ofs_x = 0, .ofs_y = 5},/*(达)*/
    {.bitmap_index = 869,	.adv_w = 43, .box_h = 39, .box_w = 44, .ofs_x = 0, .ofs_y = 4},/*(仪)*/
    {.bitmap_index = 1298,	.adv_w = 43, .box_h = 38, .box_w = 44, .ofs_x = 0, .ofs_y = 5},/*(器)*/
};


static const uint16_t unicode_list_1[] = {
    0x6d77,	/*(海)*/
    0x8fbe,	/*(达)*/
    0x4eea,	/*(仪)*/
    0x5668,	/*(器)*/
    0x0000,    /*End indicator*/
};


static const lv_font_fmt_txt_cmap_t cmaps[] = {
    {
        .range_start = 20202,
        .range_length = 4,
        .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY,
        .glyph_id_start = 0,
        .unicode_list = unicode_list_1,
        .glyph_id_ofs_list = NULL,
        .list_length = 4,
    }
};


static lv_font_fmt_txt_dsc_t font_dsc = {
    .glyph_bitmap = glyph_bitmap,
    .glyph_dsc = glyph_dsc,
    .cmaps = cmaps,
    .cmap_num = 1,
    .bpp = 2,

    .kern_scale = 0,
    .kern_dsc = NULL,
    .kern_classes = 0,

    .last_letter = 0x8fbe,
    .last_glyph_id = 3,
};


static const uint8_t * __user_font_get_bitmap(const lv_font_t * font, uint32_t unicode_letter) {
    lv_font_fmt_txt_dsc_t * fdsc = (lv_font_fmt_txt_dsc_t *) font->dsc;

    if(unicode_letter < fdsc->cmaps[0].range_start) return NULL;

    uint32_t i;
    for(i = 0; fdsc->cmaps[0].unicode_list[i] != 0; i++) {
        if(fdsc->cmaps[0].unicode_list[i] == unicode_letter) {
            const lv_font_fmt_txt_glyph_dsc_t * gdsc = &fdsc->glyph_dsc[i];
            return &fdsc->glyph_bitmap[gdsc->bitmap_index];
        }
    }
    return NULL;
}


static bool __user_font_get_glyph_dsc(const lv_font_t * font, lv_font_glyph_dsc_t * dsc_out, uint32_t unicode_letter, uint32_t unicode_letter_next) {
    lv_font_fmt_txt_dsc_t * fdsc = (lv_font_fmt_txt_dsc_t *) font->dsc;

    if(unicode_letter < fdsc->cmaps[0].range_start) return false;

    uint32_t i;
    for(i = 0; fdsc->cmaps[0].unicode_list[i] != 0; i++) {
        if(fdsc->cmaps[0].unicode_list[i] == unicode_letter) {
            const lv_font_fmt_txt_glyph_dsc_t * gdsc = &fdsc->glyph_dsc[i];
            dsc_out->adv_w = gdsc->adv_w;
            dsc_out->box_h = gdsc->box_h;
            dsc_out->box_w = gdsc->box_w;
            dsc_out->ofs_x = gdsc->ofs_x;
            dsc_out->ofs_y = gdsc->ofs_y;
            dsc_out->bpp   = fdsc->bpp;
            return true;
        }
    }
    return false;
}


//华文宋体,Regular,32
//字模高度：48
//内部字体
//未用排序和顺序查表
lv_font_t haidayiqi32 = {
    .dsc = &font_dsc,
    .get_glyph_bitmap = __user_font_get_bitmap,
    .get_glyph_dsc = __user_font_get_glyph_dsc,
    .line_height = 48,
    .base_line = 0,
};

//end of file
